package dao;

import beans.SubcontractInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SubcontractInfoDao {
    List<SubcontractInfo> selectList();

    List<SubcontractInfo> selectSelective(@Param(value="selectText")String selectText, @Param(value="inputText")String inputText);

    int deleteByPrimaryKey(Integer subcontractId);

    int insert(SubcontractInfo record);

    int insertSelective(SubcontractInfo record);

    SubcontractInfo selectByPrimaryKey(Integer subcontractId);

    int updateByPrimaryKeySelective(SubcontractInfo record);

    int updateByPrimaryKey(SubcontractInfo record);

    int count();
}